Crate ckb_script
source ·Expand description
CKB component to run the type/lock scripts.
Modules§
- CKB VM cost model.
Structs§
- Common data that would be shared amongst multiple VM instances. One sample usage right now, is to capture suspended machines in a chain of spawned machines.
- A script group is defined as scripts that share the same hash.
- Script execution error with the error source information.
- Syscalls can be generated individually by TransactionScriptsSyscallsGenerator.
- This struct leverages CKB VM to verify transaction inputs.
- Struct specifies which script has verified so far. Snapshot is lifetime free, but capture snapshot need heavy memory copy
- Struct specifies which script has verified so far. State lifetime bound with vm machine.
- The environment that transactions are in.
Enums§
- An enumerated type indicating the type of the Machine.
- Script execution error.
- The script group type.
- The version of CKB Script Verifier.
- Enum represent resumable verify result
Functions§
- Write the data generated by callee back to the caller memory space.
Type Aliases§
- The type of core VM machine when uses ASM.
- The type of CKB-VM ISA.
- /// The type of CKB-VM version.